﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace ETWJ.Iservice
{
    public interface IBaseService<T>
    {
        Task<int> AddNewAsync(T model);
        Task<List<T>> GetAll();
        Task<T> GetByIdAsync(int id);
    }
}
